package com.itheima.service;

import com.itheima.bean.Setmeal;

import java.util.List;

/**
 * @Author: LiuBanXian
 * @Date: 2022/9/4  15:38
 * @description:
 */
public interface SetmealService {
    //根据分类id查询套餐数据
    List<Setmeal> findByCategoryId(long id);

    /**
     * @description: 根据类型查询套餐 ，并且只查询 启售 状态的套餐
     * @author: Zheng
     * @date: 2022/9/4 22:27
     * @param: [categoryId, status] 
     * @return: java.util.List<com.itheima.bean.Setmeal>
     **/
    List<Setmeal> findByCategoryId(Long categoryId,Integer status);
}
